package org.simple.client;

import org.simple.util.AjaxResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value="HRM-COMMON",fallbackFactory = SmsClientFallbackFactory.class)
@RequestMapping("/sms")
public interface SmsClient {
    @PostMapping
    AjaxResult send(@RequestParam(value ="params",required = true) String params);

}
